﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZY.EntityFrameWork.Core.Model.Entity.Authority
{
    public class RoleModule:BaseEntity
    {
       public int RoleId { get; set; }
        public int ModuleId { get; set; }
        //角色权限
        public int Permissions { get; set; }
        public virtual Module Module { get; set; }
        //public virtual Permission Permission { get; set; }
        public virtual Role Role { get; set; }
        //public virtual ICollection<Role> Roles { get; set; }
    }
}
